package com.diy.sigmund.diycommon.entity.po.user;

import java.io.Serializable;
import java.util.Date;

/**
 * user_auth
 *
 * @author ylm-sigmund
 */
public class UserAuth implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    private String id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 身份类型 1手机号 2邮箱 3用户名 4qq 5微信 6腾讯微博 7新浪微博
     */
    private String identityType;
    /**
     * 0 站内登录方式，1 站外登录方式
     */
    private String isExternalLogin;
    /**
     * 手机号 邮箱 用户名或第三方应用的唯一标识
     */
    private String identifier;
    /**
     * 密码凭证(站内的保存密码，站外的不保存或保存token)
     */
    private String credential;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getIdentityType() {
        return identityType;
    }

    public void setIdentityType(String identityType) {
        this.identityType = identityType;
    }

    public String getIsExternalLogin() {
        return isExternalLogin;
    }

    public void setIsExternalLogin(String isExternalLogin) {
        this.isExternalLogin = isExternalLogin;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getCredential() {
        return credential;
    }

    public void setCredential(String credential) {
        this.credential = credential;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}